<% include("../_layouts/default-up.html",{}){}%>
<% include("../_includes/header.html",{}){}%>

<div class="g-banner tags-banner ${'post-pattern-' + site.postPatterns} ${'bgcolor-' + site.theme_color}" data-theme="${ site.theme_color }">
    <h2>TAGS</h2>
</div>

<main class="tags-content">

    <ul class="tags-list">
        <li>
        <% if(site.tags.~size>0){ %>
            <% for( tag in site.tags){ %>
            <a href="${site.url + '/tags/'+tag }" class="tag">${ tag }</a>
            <%  }  %>
        <%  }  %>
        </li>
        <li>
            <span class="tag-name">「 文章 」</span>
            <% for( post in posts){ %>
            <a class="tag-post" href="${ post.path }" title="${ post.title }">${ post.title }</a>
            <%  }  %>
        </li>
    </ul>
</main>

<% include("../_includes/footer.html",{}){}%>
<% include("../_layouts/default-down.html",{}){}%>
